package com.myway.service;


import com.myway.dto.Result.Flights;
import com.myway.dto.common.JsonData;
import com.myway.dto.domain.FlightCriteria;
import com.myway.dto.domain.GlobalResult;
import com.myway.dto.domain.TotalFlyPrice;
import com.myway.dto.ibe_param.FlightParam;
import com.myway.dto.ibe_param.TaxPrice;
import com.myway.dto.ibe_param.TicketPrice;
import com.myway.dto.vo.FlyOrderVo;
import com.myway.dto.vo.FlyPassengeVo;
import com.myway.dto.vo.FlySegmentVo;
import com.myway.pojo.FlyOrder;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by yufei on 2018/4/2.
 */
public interface AVService {
    //TODO:查询航班
    GlobalResult searchFlight(FlightCriteria criteria);

    //查询价格
    String searchCalenderFlight(FlightCriteria criteria);

    //查询月日历价格
    String searchMonthCalenderPrice(FlightCriteria criteria);

    GlobalResult addFlightOrder(FlyOrderVo flyOrderVo, TotalFlyPrice totalFlyPrice, List<TaxPrice> taxPrices, String userId, String flyPassengeVoListStr);

    JsonData searchFlyOrder(FlightParam param, String passgaeData, FlyOrder flyOrder, TicketPrice ticketPrice);

    GlobalResult searchRoundTripFlight(FlightCriteria criteria);


    List<FlySegmentVo> setMeals(List<FlySegmentVo> FlySegmentVoList);

}